﻿@model ShopHeaderModel
@using SmartStore.Web.Models.Common;

<a href="@Url.RouteUrl("HomePage")" class="brand@(Model.LogoUploaded ? "" : " textual")">          
    @if (Model.LogoUploaded) 
    {
        <img src='@Url.Content(Model.LogoUrl.EmptyNull())' 
            alt="@Model.LogoTitle" 
            title="@Model.LogoTitle"
			class="img-fluid"
            @Html.Attr("width", Model.LogoWidth.ToString(), Model.LogoWidth > 0)
            @Html.Attr("height", Model.LogoHeight.ToString(), Model.LogoHeight > 0) />
    }
    else
    {
        @Model.LogoTitle    
    }
</a>
